modemmanager: add missing ppp ifname option value
authorFlorian Eckert <[email protected]>
Thu, 7 Aug 2025 10:08:05 +0000 (12:08 +0200)
committerFlorian Eckert <[email protected]>
Thu, 4 Sep 2025 06:35:09 +0000 (08:35 +0200)
commitf49138b564c6c16503379644a7883ef6d71a451a
tree88e2b9bb9d920300b5ef5ac65467c0edbcd11067
parent71dbf1cc0d005fd3efcce90184a883c0a682dadb
modemmanager: add missing ppp ifname option value

The pppd supports the option to configure the name of the network interface
at startup using the ifname option.

The pppd can overwrite the name of the network interface at startup using
the 'ifname' configuration option. If this option is not specified, the new
network interface is created according to the following scheme:
ppp<number>, e.g. ppp0, ppp1 and so on. This can therefore change with
every start if the number has been already assigned to another ppp connection.

In order to always get the same interface name with the modemmanger proto via
ppp, it is created according to the new scheme by setting the 'ifname':
ppp-<uci network interface name>, e.g. ppp-wwan.

Signed-off-by: Florian Eckert <[email protected]>
net/modemmanager/files/lib/netifd/proto/modemmanager.sh